<!DOCTYPE html>
<html xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head lang="en">
    <meta charset="UTF-8">
    <title>官网</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <style>
        html, body {
             margin: 0;
             padding: 0;
             font-size:0;
         }
    </style>
    <script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script>

</head>

<body>
        <!--<img style="width: 100%" id="images">-->
</body>
<script src="../assets/js/jquery.min.js"></script>
<script src="../assets/common.js"></script>
<script>
    var sessionid=getQueryString("sessionid");
    $(function(){
        //获取用户信息
        $.ajax({
            type: 'get',
            url: baseUrl+'v1.0/findWebsite',
            contentType:'application/json',
            headers:{"session_id":sessionid},
            success: function (datalist) {
                var imgs = new Array();
                var width;
                var height;
                $.each(datalist, function (i, data) {
                    if(data.type==1){
                        imgs = data.text_content.split(",");
                        $("#images").attr("src",imgs[0]);
                        for(var temp = 0;temp < imgs.length;temp++){
                            $("body").append('<img style="width: 100%" src="'+imgs[temp]+'"/>');
                        }
                    }
                })
            }
        });
    })
</script>
</html>